package com.hbx.platform.auth.mapper;

import com.hbx.platform.auth.domain.Permission;
import com.hbx.platform.base.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hbx
 * @since 2024-04-06
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    Permission queryBySn(String sn);

    List<Permission> getTree();

    List<String> getPermissionsByEmpId(Long id);
}
